import { createPinia } from 'pinia';
import piniaPersist from 'pinia-plugin-persistedstate';

const pinia = createPinia();
pinia.use(piniaPersist);

export { default as useCategoryStore } from './modules/category';

export { default as useThemeStore } from './modules/theme';

export { default as useAppStore } from './modules/app';

export { default as useSearchStore } from './modules/search';

export { default as useUserStore } from './modules/user';

export { default as useRouterStore } from './modules/router';

export default pinia;
